package ca.etsmtl.log730.projet.controller.nmessages.commands;

import java.util.UUID;

import ca.etsmtl.log730.projet.model.workspace.TextObject;

public class FileCommand extends AbstractCommand {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7669347881847468481L;

	private FileAction action;
	private UUID fileId;
	private TextObject object;
	
	public FileCommand(FileAction a, UUID id, TextObject to) {
		setAction(a);
		setFileId(id);
		setObject(to);
	}
	public UUID getFileId() {
		return fileId;
	}
	public void setFileId(UUID fileId) {
		this.fileId = fileId;
	}
	public TextObject getObject() {
		return object;
	}
	public void setObject(TextObject object) {
		this.object = object;
	}
	public FileAction getAction() {
		return action;
	}
	public void setAction(FileAction action) {
		this.action = action;
	}
}
